import request from '@/router/axios';

/**
 * 查询所有API
 */
export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-product/apaas/api/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

/**
 * 删除API
 */
export const remove = (ids) => {
  return request({
    url: '/api/mes-product/apaas/api/remove',
    method: 'post',
    params: {
      ids
    }
  });
};
